/**
 * @author: zouye<yzyngz@foxmail.com>
 * @date: 2021-12-19 22:12:36
 * @copyright: zouye<yzyngz@foxmail.com>
 */
package com.yeah.study.easyoffice.dto;

import java.util.Date;
import java.util.List;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;

/**
 *
 */
public class EasyPoiNeedMergeVo {

	@Excel(name = "序号", needMerge = true, width = 10)
	private Integer index;

	@Excel(name = "名称", needMerge = true, width = 10)
	private String name;
	
	@Excel(name = "开始时间", needMerge = true, width = 40, format = "yyy-MM-dd HH:mm:ss")
	private Date startTime;
	
	@Excel(name = "价格", needMerge = true, width = 10)
	private Float price;
	
	@Excel(name = "性别", needMerge = true, width = 10, replace = {"男_1", "女_0"})
	private Integer sex = 1;
	
	@ExcelCollection(name = "")
    private List<EasyPoiVo> suitList;

	public EasyPoiNeedMergeVo() {
		
	}
	
	public EasyPoiNeedMergeVo(Integer index, String name, Date startDate, Float price) {
		this.index = index;
		this.name = name;
		this.startTime = startDate;
		this.price = price;
	}
	/**
	 * @return the index
	 */
	public Integer getIndex() {
		return index;
	}

	/**
	 * @param index the index to set
	 */
	public void setIndex(Integer index) {
		this.index = index;
	}
	
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the startTime
	 */
	public Date getStartTime() {
		return startTime;
	}

	/**
	 * @param startTime the startTime to set
	 */
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	/**
	 * @return the price
	 */
	public Float getPrice() {
		return price;
	}

	/**
	 * @param price the price to set
	 */
	public void setPrice(Float price) {
		this.price = price;
	}
	
	/**
	 * @return the sex
	 */
	public Integer getSex() {
		return sex;
	}

	/**
	 * @param sex the sex to set
	 */
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	
	/**
	 * @return the suitList
	 */
	public List<EasyPoiVo> getSuitList() {
		return suitList;
	}

	/**
	 * @param suitList the suitList to set
	 */
	public void setSuitList(List<EasyPoiVo> suitList) {
		this.suitList = suitList;
	}
}
